package com.security.demo.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.security.demo.entity.User;
import com.security.demo.vo.R;
import org.springframework.stereotype.Service;

@Service
public interface UserService extends IService<User> {

    R getUserList(String name, int current, int size);

    R addUser(User user);

    R updateUser(User user);

    R deleteUser(String name);

    User getUserByName(String name);

}
